package com.numbfish.ch_04.Executors_2_1.src.myrunnable ;

public class MyRunnable implements Runnable {

	private String username;

	public MyRunnable(String username) {
		super();
		this.username = username;
	}

	@Override
	public void run() {
		System.out.println(Thread.currentThread().getName() + " username="
				+ username + " begin " + System.currentTimeMillis());
		System.out.println(Thread.currentThread().getName() + " username="
				+ username + "   end " + System.currentTimeMillis());
	}
}